package com.purchase.ml.bean.req.dealer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "主经销商修改商品目录model")
public class DealerCategoryEditDto implements Serializable {

    @ApiModelProperty(value = "目录id",required = true)
    @NotNull(message = "ID tidak boleh kosong")
    private Long id;

    //TODO：无效参数
    private Long categoryId;

    @ApiModelProperty(value = "状态")
    @NotNull(message = "Status tidak boleh kosong")
    private Integer state;


    //TODO：无效参数
    private Long dealerId;

    @ApiModelProperty(value = "索引ID")
    private Integer index;

    private static final long serialVersionUID = 1L;
}